package com.web.actions.usuarios.vo;


import com.web.actions.AbstractActionForm;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

import javax.servlet.ServletRequest;
import javax.servlet.http.HttpServletRequest;

/**
 * 
 * @author jorge
 *
 */
@SuppressWarnings("serial")
public class UsuarioEditorActionForm extends AbstractActionForm {

  private long idUsuario;
  private String nombre;
  private String documento;
  private String pin;
  private int nivel;
  private String email;
  

  public ActionErrors validate(ActionMapping actionMapping,
      HttpServletRequest httpServletRequest) {
    return null;
  }

  public void reset(ActionMapping actionMapping,
      HttpServletRequest httpServletRequest) {
    this.idUsuario = 0;
    this.nivel = 0;
  }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

  
  public long getIdUsuario() {
	return idUsuario;
  }

  public void setIdUsuario(long idUsuario) {
	this.idUsuario = idUsuario;
  }

  public String getNombre() {
	return nombre;
  }

  public void setNombre(String nombre) {
	this.nombre = nombre;
  }

  public String getDocumento() {
	return documento;
  }

  public void setDocumento(String documento) {
	this.documento = documento;
  }

  public String getPin() {
	return pin;
  }

  public void setPin(String pin) {
	this.pin = pin;
  }

  public int getNivel() {
	return nivel;
  }

  public void setNivel(int nivel) {
	this.nivel = nivel;
  }

  @Override
  public void reset(ActionMapping mapping, ServletRequest request) {
	// TODO Auto-generated method stub
	super.reset(mapping, request);
  }
   
}